package ru.onlinestore.mobile.di

import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module
import ru.onlinestore.mobile.domain.usecase.GetProductListUseCase
import ru.onlinestore.mobile.ui.main.MainViewModel

val viewModelsModule = module {
    viewModel {
        MainViewModel(
            getProductListUseCase = get<GetProductListUseCase>()
        )
    }
}